package com.ruoyi.modules.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.File;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import com.ruoyi.common.core.domain.entity.SysUser;
import lombok.Data;

/**
 * 任务表
 * @TableName t_zjxd_rwb
 */
@TableName(value ="t_zjxd_rwb")
@Data
public class TZjxdRwb implements Serializable {
    /**
     * 主键id
     */
    @TableId
    private String sid;

    /**
     * 事项标题
     */
    private String sxbt;

    /**
     * 事项性质
     */
    private String sxxz;

    /**
     * 是否反馈
     */
    private String sffk;

    /**
     * 下达日期
     */
    private String xdrq;

    /**
     * 截止日期
     */
    private String jzrq;

    /**
     * 下达人姓名
     */
    private String xdr;

    /**
     * 下达人id
     */
    private String xdrId;

    /**
     * 联系电话
     */
    private String lxdh;

    /**
     * 下达部门
     */
    private String xdbm;

    /**
     * 下达机构
     */
    private String xdjg;

    /**
     * 紧急程度
     */
    private String jjcd;

    /**
     * 哪些用户可以查看
     */
    private String ckr;

    /**
     * workid
     */
    private String workid;

    /**
     * 是否转发 1已转发
     */
    private String isTran;

    private String sxlx;

    /**
     * 1一键下达 2逐级下达
     */
    private String rwlx;
    private String xdnr;
    @TableField(exist = false)
    private List<SysUser> tranUsers;
    @TableField(exist = false)
    private List<Long> checkTranUsers;

    /**
     * true 办理任务 false查看任务
     */
    @TableField(exist = false)
    private Boolean inDo;
    @TableField(exist = false)
    private String spyj;
    @TableField(exist = false)
    private List<Long> deptIds;
    @TableField(exist = false)
    private Boolean sfsp;//是否审批过 0未审批 1审批
    @TableField(exist = false)
    private Boolean isQx;
    @TableField(exist = false)
    private Boolean isSjy;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    @TableField(exist = false)
    private String xdsl;
    @TableField(exist = false)
    private String ydsl;
    @TableField(exist = false)
    private String wdsl;
    @TableField(exist = false)
    private String yfk;
    @TableField(exist = false)
    private String wfk;
    @TableField(exist = false)
    private List<TFjb> fjbs;
    @TableField(exist = false)
    private List<File> fjFile;
    @TableField(exist = false)
    private String cqts;
    @TableField(exist = false)
    private List<TUser> users = new ArrayList<>();

    @TableField(exist = false)
    private List<Map> parentOptions = new ArrayList<>();
    @TableField(exist = false)
    private TOption option = new TOption();
}